import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/index'
//toast插件
import toast from './components/common/toast/index'
//安装插件
Vue.use(toast)

Vue.config.productionTip = false
//给原型上添加事件总线
Vue.prototype.$bus=new Vue()

new Vue({
  render: h => h(App),
  router,
  store,
}).$mount('#app')
